package com.zuxia.po;

import java.util.HashSet;
import java.util.Set;

import com.alibaba.fastjson.annotation.JSONField;

/**
 * Departmentinfo entity. @author MyEclipse Persistence Tools
 */

public class Departmentinfo implements java.io.Serializable {

	// Fields

	private Integer dpIid;
	private String dpIname;
	private String dpIduty;
	@JSONField(serialize=false)
	private Set staffindos = new HashSet(0);

	// Constructors


	/** default constructor */
	public Departmentinfo() {
	}
	

	public Departmentinfo(Integer dpIid, String dpIname, String dpIduty) {
		super();
		this.dpIid = dpIid;
		this.dpIname = dpIname;
		this.dpIduty = dpIduty;
	}


	/** minimal constructor */
	public Departmentinfo(String dpIname, String dpIduty) {
		this.dpIname = dpIname;
		this.dpIduty = dpIduty;
	}

	/** full constructor */
	public Departmentinfo(String dpIname, String dpIduty, Set staffindos,
			Set positioninfos) {
		this.dpIname = dpIname;
		this.dpIduty = dpIduty;
		this.staffindos = staffindos;
	}
	

	public Departmentinfo(Integer dpIid, String dpIname) {
		super();
		this.dpIid = dpIid;
		this.dpIname = dpIname;
	}

	// Property accessors

	public Integer getDpIid() {
		return this.dpIid;
	}

	public void setDpIid(Integer dpIid) {
		this.dpIid = dpIid;
	}

	public String getDpIname() {
		return this.dpIname;
	}

	public void setDpIname(String dpIname) {
		this.dpIname = dpIname;
	}

	public String getDpIduty() {
		return this.dpIduty;
	}

	public void setDpIduty(String dpIduty) {
		this.dpIduty = dpIduty;
	}

	public Set getStaffindos() {
		return this.staffindos;
	}

	public void setStaffindos(Set staffindos) {
		this.staffindos = staffindos;
	}

}